package com.semeureka.fault.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.semeureka.fault.bean.Point;
import com.semeureka.fault.dao.PointDao;
import com.semeureka.fault.service.PointService;

@Component
@Transactional
public class PointServiceImpl implements PointService {
	@Autowired
	private PointDao pointDao;

	@Override
	public Point findByTypeValue(Integer type, byte[] value) {
		return pointDao.findByTypeValue(type, value);
	}
}
